﻿//===============================================================================
// TREASURY MANAGMENT INFORMATION SYSTEMS 
// COMMON DATA CLASS
//===============================================================================
// Copyright © TIMS GROUP. 2008
//===============================================================================

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using APPLICATION.DataAccess.TIMSDataSetTableAdapters;

namespace APPLICATION.DataAccess
{
    class dbCommon
    {

                /// <summary>
                /// dtCities Datatable Class Fro Cities Dictionary
                /// </summary>
                /// <returns>DataTable </returns>
                /// <remarks> GETS DATA FROM TABLE dtCity BY LEVELS 
                /// (@hrclvl: Country = 0, Region = 1,City = 2) 
                /// (mgrid As ParentID: NULL = Any)  
                /// </remarks>
       
        public DataTable dtCities(int level)
        {
            fn_GetCityTableAdapter tbGetCity = new fn_GetCityTableAdapter();
            return tbGetCity.GetData(level);
        }
 
        


    }
}
